obj={
    p1:1112,
    p2:function(){
        console.log(111);
    }
}

console.log(Object.keys(obj));
Object.keys(obj)
console.log(Object.getOwnPropertyNames(obj));

var o=Object.defineProperty({},'we',{
    value:"这是我设置的对象"
})
console.log(o.we);
console.log(o);